package com.pm2.entity.plan;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicUpdate;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 项目计划-天计划
 * @author qin
 *
 */
@Entity
@Table(name="db_pm2_plan_dayplan")
@DynamicUpdate
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DayPlan {
	// @Fields id : 项目主键
	@Id @Column(name="id")
	@GeneratedValue(strategy=GenerationType.AUTO)
	int id;	 
	
	// @Fields pid : 主计划编号
	int pid;
	
	// @Fields project_id : 对应项目编号
	int project_id;
	
	// @Fields day : 代表的天
	Date day;
	
	// @Fields developer : 开发者
	int developer;
}
